home *** CD-ROM | disk | FTP | other *** search
- ERA - Prompting File/Directory Deleter.
-
- by: Windspear Software Systems
- P.O. Box 2297
- Iowa City, Iowa 52244
-
- Copyright 1985, 1986, 1987 by Windspear Software Systems
-
- All commercial rights reserved. May be freely copied and used for
- private use only -- not for resale. May be distributed on public access
- remote computer bulletin boards.
-
- ERA is supplied as a user supported package. Private individuals are
- encouraged to copy and share this package with others. If you are using
- this program and finding it of value, your contribution ($10 suggested)
- will be appreciated. Regardless of whether you make a contribution, you
- are encouraged to copy and share this program.
-
- Please send any comments/problems to Windspear Software Systems. If you
- want a response and are a contributing user also include a self
- addressed stamped envelope.
-
- Please make the user supported software concept work by sending in your
- $10 contribution.
-
- Jordan Archer
- Windspear Software Systems
- P.O. Box 2297
- Iowa City, Iowa 52244
-
- ERA - Prompting File/Directory Deleter.
-
- Discription:
-
- ERA is a prompting file and directory delete program. ERA will
- delete files and directories prompting for permission to delete
- at a given level.
-
- Usage: ERA [pattern] {prefix[n]option}
-
- Pattern:
-
- [!][drive:][path][file] { [!][file] }
-
- Drive: a - z.
- Path: Any PC-DOS path ending in a '\'.
- File: Normal file name with wild cards.
-
- The '!' means exclude all the files from the previous files list
- taht match the file wild card. This is done in a left to right
- manner. For example:
-
- lf !*.bat Means list all files that are not .bat
-
- lf *.b* !*.?a? *.bat Is processed as:
- 1 ) List all *.b* files.
- 2 ) From that list remove all *.?a? files.
- 3 ) From that list add all *.bat files.
-
- Prefixes:
-
- '-' or '/' if not disabled.
-
-
- ERA - Prompting File/Directory Deleter.
-
-
- Options:
-
- a - File attribute pattern match. (off)
- When on hidden files are included in the deletion list.
-
- d - Delete directories. (on)
- By using the '-nd' option you will delete only the files.
- Deleting a directory means deleting all files in the directory
- and removing the directory.
-
- f - Delete files. (on)
- By using the '-nf' option you will delete only the directories.
-
- t - Tree search for files matching pattern. (off)
- This tells ERA to search down in the directory tree for files
- matching the pattern supplied. For example:
-
- ERA C:\*.BAK *.TMP -T -A
-
- will delete all '.bak' and '.tmp' files on drive 'C'.
-
- p - Prompt for file delete. (on)
- If turned off by '-np' ERA will not prompt wether to delete
- files matching pattern. ERA will always prompt for directory
- deletes.
-
- '-', '/' - Set/Disable the option prefix character(s). (on)
- This allows you to disable one or both of the options prefix
- characters, which are '-' and '/'. (e.g., '-n-' disables the
- '-' prefix so that a following '-no' is considered a file name
- instead of an option.)
-
- All options can be prefixed with a 'n' to turn them off.
-
- Notes:
-
- This is a rough version of ERA that fits my needs, I have never seen
- it delete a file it was not suppose to delete. There are some bugs
- in it having to do with deleting directories containing read only
- files. Since ERA fills my needs I have no motivation to clean it up.
- My only motivation to do so would be if there were contributions from
- users.
-
- Revision histroy:
-
- 2.0 - Fix a bug in 1.1 which do to an error got stuck. (OOPS).
-
-
- Jordan Archer
- May 15, 1987
-
-
- Copyright 1985, 1986, 1987,
- Windspear Software Systems
- P.O. Box 2297
- Iowa City, Iowa 52244
-